import {observer} from 'mobx-react';
import React from 'react';
import {withRouter} from 'react-router-dom';

@withRouter
@observer
class App extends React.Component {
    componentDidMount() {
        window.historyRoute = this.props.history;
    }
    render() {
        return this.props.children;
    }
}

export default App;